# vPresent is an immersive presentation creation and display application.
# Copyright (C) 2007 by Infiscape Corporation
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# -*- coding: utf-8 -*-

#      by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_BoxBase(object):
   def setupUi(self, BoxBase):
      BoxBase.setObjectName("BoxBase")
      BoxBase.resize(QtCore.QSize(QtCore.QRect(0,0,276,94).size()).expandedTo(BoxBase.minimumSizeHint()))

      self.gridlayout = QtGui.QGridLayout(BoxBase)
      self.gridlayout.setMargin(1)
      self.gridlayout.setSpacing(1)
      self.gridlayout.setObjectName("gridlayout")

      self.mSizeLbl = QtGui.QLabel(BoxBase)
      self.mSizeLbl.setObjectName("mSizeLbl")
      self.gridlayout.addWidget(self.mSizeLbl,0,0,1,2)

      self.mXSize = QtGui.QDoubleSpinBox(BoxBase)
      self.mXSize.setMinimum(0.01)
      self.mXSize.setMaximum(1e+37)
      self.mXSize.setProperty("value",QtCore.QVariant(1.0))
      self.mXSize.setObjectName("mXSize")
      self.gridlayout.addWidget(self.mXSize,1,1,1,2)

      self.mResolutionLbl = QtGui.QLabel(BoxBase)
      self.mResolutionLbl.setObjectName("mResolutionLbl")
      self.gridlayout.addWidget(self.mResolutionLbl,0,3,1,2)

      self.mXRes = QtGui.QSpinBox(BoxBase)
      self.mXRes.setMinimum(1)
      self.mXRes.setMaximum(65535)
      self.mXRes.setProperty("value",QtCore.QVariant(1))
      self.mXRes.setObjectName("mXRes")
      self.gridlayout.addWidget(self.mXRes,1,4,1,2)

      self.mXSizeLbl = QtGui.QLabel(BoxBase)
      self.mXSizeLbl.setObjectName("mXSizeLbl")
      self.gridlayout.addWidget(self.mXSizeLbl,1,0,1,1)

      self.mXResLbl = QtGui.QLabel(BoxBase)
      self.mXResLbl.setObjectName("mXResLbl")
      self.gridlayout.addWidget(self.mXResLbl,1,3,1,1)

      self.mYSizeLbl = QtGui.QLabel(BoxBase)
      self.mYSizeLbl.setObjectName("mYSizeLbl")
      self.gridlayout.addWidget(self.mYSizeLbl,2,0,1,1)

      self.mYSize = QtGui.QDoubleSpinBox(BoxBase)
      self.mYSize.setMinimum(0.01)
      self.mYSize.setMaximum(1e+37)
      self.mYSize.setProperty("value",QtCore.QVariant(1.0))
      self.mYSize.setObjectName("mYSize")
      self.gridlayout.addWidget(self.mYSize,2,1,1,2)

      self.mYResLbl = QtGui.QLabel(BoxBase)
      self.mYResLbl.setObjectName("mYResLbl")
      self.gridlayout.addWidget(self.mYResLbl,2,3,1,1)

      self.mYRes = QtGui.QSpinBox(BoxBase)
      self.mYRes.setMinimum(1)
      self.mYRes.setMaximum(65535)
      self.mYRes.setProperty("value",QtCore.QVariant(1))
      self.mYRes.setObjectName("mYRes")
      self.gridlayout.addWidget(self.mYRes,2,4,1,2)

      self.mZSizeLbl = QtGui.QLabel(BoxBase)
      self.mZSizeLbl.setObjectName("mZSizeLbl")
      self.gridlayout.addWidget(self.mZSizeLbl,3,0,1,1)

      self.mZSize = QtGui.QDoubleSpinBox(BoxBase)
      self.mZSize.setMinimum(0.01)
      self.mZSize.setMaximum(1e+37)
      self.mZSize.setProperty("value",QtCore.QVariant(1.0))
      self.mZSize.setObjectName("mZSize")
      self.gridlayout.addWidget(self.mZSize,3,1,1,2)

      self.mZResLbl = QtGui.QLabel(BoxBase)
      self.mZResLbl.setObjectName("mZResLbl")
      self.gridlayout.addWidget(self.mZResLbl,3,3,1,1)

      self.mZRes = QtGui.QSpinBox(BoxBase)
      self.mZRes.setMinimum(1)
      self.mZRes.setMaximum(65535)
      self.mZRes.setProperty("value",QtCore.QVariant(1))
      self.mZRes.setObjectName("mZRes")
      self.gridlayout.addWidget(self.mZRes,3,4,1,2)
      self.mXSizeLbl.setBuddy(self.mXSize)
      self.mXResLbl.setBuddy(self.mXRes)
      self.mYSizeLbl.setBuddy(self.mYSize)
      self.mYResLbl.setBuddy(self.mYRes)
      self.mZSizeLbl.setBuddy(self.mZSize)
      self.mZResLbl.setBuddy(self.mZRes)

      self.retranslateUi(BoxBase)
      QtCore.QMetaObject.connectSlotsByName(BoxBase)
      BoxBase.setTabOrder(self.mXSize,self.mYSize)
      BoxBase.setTabOrder(self.mYSize,self.mZSize)
      BoxBase.setTabOrder(self.mZSize,self.mXRes)
      BoxBase.setTabOrder(self.mXRes,self.mYRes)
      BoxBase.setTabOrder(self.mYRes,self.mZRes)

   def retranslateUi(self, BoxBase):
      BoxBase.setWindowTitle(QtGui.QApplication.translate("BoxBase", "Box", None, QtGui.QApplication.UnicodeUTF8))
      self.mSizeLbl.setText(QtGui.QApplication.translate("BoxBase", "Size", None, QtGui.QApplication.UnicodeUTF8))
      self.mResolutionLbl.setText(QtGui.QApplication.translate("BoxBase", "Resolution", None, QtGui.QApplication.UnicodeUTF8))
      self.mXSizeLbl.setText(QtGui.QApplication.translate("BoxBase", "X:", None, QtGui.QApplication.UnicodeUTF8))
      self.mXResLbl.setText(QtGui.QApplication.translate("BoxBase", "X:", None, QtGui.QApplication.UnicodeUTF8))
      self.mYSizeLbl.setText(QtGui.QApplication.translate("BoxBase", "Y:", None, QtGui.QApplication.UnicodeUTF8))
      self.mYResLbl.setText(QtGui.QApplication.translate("BoxBase", "Y:", None, QtGui.QApplication.UnicodeUTF8))
      self.mZSizeLbl.setText(QtGui.QApplication.translate("BoxBase", "Z:", None, QtGui.QApplication.UnicodeUTF8))
      self.mZResLbl.setText(QtGui.QApplication.translate("BoxBase", "Z:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   import sys
   app = QtGui.QApplication(sys.argv)
   BoxBase = QtGui.QWidget()
   ui = Ui_BoxBase()
   ui.setupUi(BoxBase)
   BoxBase.show()
   sys.exit(app.exec_())
